package com.sky.his.api.app.controller;

import com.sky.his.api.app.service.FlowRegulationService;
import com.sky.his.api.common.R;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.ArrayList;

/**
 * @Author: WangJiYou
 * @Date: 2024/12/17/14:33
 * @Description:
 */
@RestController("AppFlowRegulationController")
@RequestMapping("/app/appointment")
public class FlowRegulationController {

    @Resource
    private FlowRegulationService flowRegulationService;

    @GetMapping("/searchRecommendedPlace")
    public R searchRecommendedPlace() {
        ArrayList list = flowRegulationService.searchRecommendPlace();
        return R.ok().put("result", list);
    }
}
